package com.example.lab4.Mapper;
import java.util.List;
import org.apache.ibatis.annotations.*;

@Mapper
public interface ProduceDao {
    @Select("call FindManager()")
    List<String> FindManager();

    @Insert("call InStation(#{站名})")
    void insertStation(String 站名);

    @Delete("call OffStation(#{站名})")
    void deleteStation(String 站名);

    @Update("call ChangePassword(#{手机号},#{新密码})")
    void editStation(String 手机号, String 原密码, String 新密码);

    @Select("select 站名 from 车站")
    List<String> FindStation();

    @Insert("call come(1)")
    void addPerson();
}
